package com.joey.afterProSet;

import org.springframework.beans.factory.InitializingBean;

public class test implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("afterPropertiesSet is running");
    }

    public void setSay(dao d) {
        System.out.println(d+"被注入了");
    }
    //他会在初始化时(重点：DO操作后)自动执行
}
